<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>编辑角色</title>
<link href="/widget/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"  type="text/css"/>
 {cssjs}
<link href="/res/css/inside_page.css" rel="stylesheet"  type="text/css"/>
<style>
    li{float:left;width:70px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:.2rem 0;}
    .che_input{float:left;}
</style>
</head>

<body>
<div class="container-fluid larry-wrapper">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <section class="panel panel-padding">
                <form id="form1" class="layui-form layui-form-pane" method="post" data-dotype="a" action="">
				<table class="layui-table">
				  <colgroup>
					<col width="150">
					<col width="150">
					<col width="200">
					<col>
				  </colgroup>
				  <thead>
				    <tr style="background-color:white;">
					  <th>
						  <div class="layui-form-item">
							<input type="checkbox" name="mun" title="全选" lay-filter="check_all">
						</div>
						</th>
					  <th style="width:950px;">
						<div>角色名称：{rolename}</div>
					  </th>
					</tr>
					<input type="hidden" name="sname" id="sname" />
					<tr>
					  <th>功能</th>
					  <th style="width:950px;">功能列表</th>
					</tr> 
				  </thead>
				  <tbody>
				    <!-- START list -->
					<tr>
					  <td>
						<div class="layui-form-item">
							<input type="checkbox" name="mu" value="{id}" title="{name}" lay-filter="check_cld">
						</div>
					</td>
					  <td>
					  <div class="layui-form-item">
					  <!-- START rp -->
					  <input type="checkbox" name="mu" value="{id}" title="{name}" data-id="{pid}" lay-filter="check_th">
					  <!-- END rp -->
					  </div>
					  </td>
					</tr>
					<!-- END list -->
				  </tbody>
				</table> 
				<input type="text" id="id" name="id" value="{id}" style="display:none;"/>
				<input type="text" id="muid" name="muid" value="{menu_id}" style="display:none;"/>
                <input class="layui-btn layui-btn-danger" style="margin:0 0 0 580px;" id="btnSave" value="确认" type="button"/>
                </form>
            </section>
        </div>
    </div>
</div>
	{jsmodel}
   <script type="text/javascript">
        layui.use('system_check_menu');
    </script>
</body>
</html>